package com.tenement.domain;

import java.util.Date;

/**
 * 户型模型
 */
public class TenementType {
    /**
     * 户型id
     */
    private String typeId;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 户型名称
     */
    private String typeName;

    /**
     * 有效性 1有效，0无效
     */
    private Integer revision;

    /**
     * 创建人
     */
    private String createdBy;

    /**
     * 创建时间
     */
    private Date createdTime;

    /**
     * 更新人
     */
    private String updatedBy;

    /**
     * 更新时间
     */
    private Date updatedTime;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tenement_type.type_id
     *
     * @return the value of tenement_type.type_id
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public String getTypeId() {
        return typeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tenement_type.type_id
     *
     * @param typeId the value for tenement_type.type_id
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public void setTypeId(String typeId) {
        this.typeId = typeId == null ? null : typeId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tenement_type.type_name
     *
     * @return the value of tenement_type.type_name
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public String getTypeName() {
        return typeName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tenement_type.type_name
     *
     * @param typeName the value for tenement_type.type_name
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public void setTypeName(String typeName) {
        this.typeName = typeName == null ? null : typeName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tenement_type.REVISION
     *
     * @return the value of tenement_type.REVISION
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public Integer getRevision() {
        return revision;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tenement_type.REVISION
     *
     * @param revision the value for tenement_type.REVISION
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public void setRevision(Integer revision) {
        this.revision = revision;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tenement_type.CREATED_BY
     *
     * @return the value of tenement_type.CREATED_BY
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public String getCreatedBy() {
        return createdBy;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tenement_type.CREATED_BY
     *
     * @param createdBy the value for tenement_type.CREATED_BY
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy == null ? null : createdBy.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tenement_type.CREATED_TIME
     *
     * @return the value of tenement_type.CREATED_TIME
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public Date getCreatedTime() {
        return createdTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tenement_type.CREATED_TIME
     *
     * @param createdTime the value for tenement_type.CREATED_TIME
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tenement_type.UPDATED_BY
     *
     * @return the value of tenement_type.UPDATED_BY
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public String getUpdatedBy() {
        return updatedBy;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tenement_type.UPDATED_BY
     *
     * @param updatedBy the value for tenement_type.UPDATED_BY
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy == null ? null : updatedBy.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tenement_type.UPDATED_TIME
     *
     * @return the value of tenement_type.UPDATED_TIME
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public Date getUpdatedTime() {
        return updatedTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tenement_type.UPDATED_TIME
     *
     * @param updatedTime the value for tenement_type.UPDATED_TIME
     *
     * @mbggenerated Sat Jun 06 09:44:19 CST 2020
     */
    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }
}